home *** CD-ROM | disk | FTP | other *** search
/ Everything For A Hacker / 19990506-[HACK].iso / HEXEDIT / IDA209 / SAFEIDA.BAT < prev    next >
DOS Batch File  |  1994-09-22  |  662b  |  25 lines

  1. @echo off
  2. :
  3. :    Use this file to make sure that you'll not lose
  4. :    your work (each time you exit IDA, a backup copy will be done)
  5. :
  6. ida %1 %2 %3 %4 %5 %6 %7 %8 %9
  7. if errorlevel 1 goto End
  8. :
  9. :    IDA returns    0 -> normal exit (database is in correct state)
  10. :            1 -> fatal error
  11. :            2 -> -? switch encountered in command line
  12. :            3 -> User pressed Esc at 'About' box
  13. :            4 -> Obsolete database format
  14. :            5 -> Database is not closed
  15. :            other -> fatal errors
  16. :
  17. :MakeBackup
  18. echo ...
  19. echo Making a backup copy...
  20. :
  21. :    You may put here your own commands to make a backup copy
  22. :
  23. pkzip -u idabak.zip 0.ida 1.ida names.ida $segs.ida $segregs.ida
  24. :End
  25.